package com.jerry.lastgomall.order.fegin;

import com.jerry.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;

@FeignClient("lastgomall-together")
@Component
public interface KaituanUserFeignService {

    @GetMapping("together/kaituan/info/{kaituanId}")
    public R info(@PathVariable("kaituanId") Long kaituanId);

    //团队人数 修改
    @RequestMapping("together/kaituan/selectPintuan/{kaituanId}")
    public R selectPintuan(@PathVariable("kaituanId") Long kaituanId);
}
